package OrderReq

import "gdshop-font-api-go/app/request/BaseReq"

type Create struct {
	BaseReq.MemberLogin
	/*	// 第一期先做单商家
		SubmitItem
		CartIds    []int       `json:"cart_ids"`    // 购物车ID
		CouponIds  []int       `json:"coupon_ids"`  // 使用优惠券IDS
		ActivityId int         `json:"activity_id"` // 活动ID*/
	OneData   *OneData    `json:"one_data"`
	CartData  []*CartData `json:"cart_data"`
	AddressId int         `json:"address_id"`
}
type OneData struct {
	CouponIds     []int `json:"coupon_ids"`
	ActivityId    int   `json:"activity_id"`
	GoodsId       int   `json:"goods_id"`
	GoodsNum      int   `json:"goods_num"`
	GoodsOptionId int   `json:"goods_option_id"`
}
type CartData struct {
	CouponIds  []int `json:"coupon_ids"`
	ActivityId int   `json:"activity_id"`
	CartIds    []int `json:"cart_ids"`
}
